// console.log(1);
import axios from "axios"
const btn = document.querySelector('#btn')
btn.addEventListener('click', function () {
    axios.get('http://ajax-api.itheima.net/api/books').then(res => {
        console.log(res);
    })
})